package com.gao.wechat.util;

import com.gao.wechat.vo.WeChatReply;
import com.gao.wechat.vo.WeChatReplyXml;

public class WeChatUtil 
{
	public static String toXml(WeChatReply reply)
	{
		return String.format(WeChatReplyXml.TEXT_XML, reply.getToUserName(),reply.getFromUserName(),reply.getCreateTime(),reply.getMsgType(),reply.getContent());
	}
}
